package com.jrh.biz.user.like;

import com.jrh.domain.common.Page;
import com.jrh.domain.entity.Atlas;
import com.jrh.domain.entity.Brand;
import com.jrh.domain.entity.Product;
import com.jrh.domain.entity.Showroom;

/**
 * 用户喜欢读服务
 * 
 * @author jasen.hsu.cn@gmail.com 2012-8-7 下午7:07:28
 */
public interface UserLikeReadService {

    public static final Integer USER_LIKE_PRODUCT_PAGE_SIZE  = 20;
    public static final Integer USER_LIKE_ATLAS_PAGE_SIZE    = 15;
    public static final Integer USER_LIKE_SHOWROOM_PAGE_SIZE = 21;
    public static final Integer USER_LIKE_BRAND_PAGE_SIZE    = 10;

    public Integer getUserlikeAllNum(Long userId);

    public Page<Product> listUserLikeProducts(Long userId, Integer pageIndex, Long style, Long category);

    public Page<Atlas> listUserLikeAtlas(Long userId, Integer pageIndex, Long style, Long category);

    public Page<Showroom> listUserLikeShowroom(Long userId, Integer pageIndex, Long style, Long category);

    public Page<Brand> listUserLikeBrand(Long userId, Integer pageIndex, Long style, Long category);
}
